package com.test;

public class Ex1 {

	
	public static void main(String[] args) {
		
		Ex1_dto ex = new Ex1_dto();
		
		ex.total(10);
		
		System.out.println(ex.getTotal());
		
		ex.total(100);
		System.out.println(ex.getTotal());
		
		ex.total(5);
		System.out.println(ex.getTotal());
		
		ex.total(10000);
		System.out.println(ex.getTotal());
		
		
		
		

	}

	

}
